home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / New System Software Extensions / OpenDoc A6 / SOM / OpenDoc and SOM / IDL / StdProps.idl < prev    next >
Encoding:
Text File  |  1994-04-19  |  7.0 KB  |  146 lines  |  [TEXT/MPS ]

  1. //# Copyright:    © 1993-94 by Apple Computer, Inc., all rights reserved.
  2. #ifndef _STDPROPS_
  3. #define _STDPROPS_
  4.  
  5. #ifndef _ODTYPES_
  6. #include "ODTypes.idl"
  7. #endif
  8.  
  9. //==============================================================================
  10. // Theory of Operation
  11. //==============================================================================
  12.  
  13. /*
  14.   This file is used to store all the standard properties.
  15. */
  16.  
  17. //==============================================================================
  18. // Constants
  19. //==============================================================================
  20.  
  21. #if defined(__SOMIDL__) && defined(EMIT_GLOBAL_CONSTANTS)
  22. #pragma somemittypes on
  23. #endif
  24.  
  25. //# Storage
  26.  
  27. const  ODPropertyName kODPropVersionList      = "OpenDoc:Property:DraftList";
  28. const  ODPropertyName kODPropDraftProperties    = "OpenDoc:Property:DraftProperties";
  29. const  ODPropertyName kODPropRootPartSU        = "OpenDoc:Property:Draft:RootPartStorageUnit";
  30.  
  31. const   ODPropertyName  kODPropStorageUnitType     = "OpenDoc:Property:StorageUnit:Type";
  32. const  ODPropertyName kODPropStorageUnitName    = "OpenDoc:Property:StorageUnitName";
  33. const  ODPropertyName  kODPropCurrentSURef      = "OpenDoc:Property:StorageUnit:CurrentSURef";
  34. const  ODPropertyName kODPropDocumentName      = "OpenDoc:Property:DocumentName";
  35. const  ODPropertyName kODPropDraftName        = "OpenDoc:Property:DraftName";
  36.  
  37. const  ODPropertyName  kODPropValueProperty      = "OpenDoc:Property:Property";
  38.  
  39. // Persistent Object
  40.  
  41. const  ODPropertyName kODPropName         = "OpenDoc:Property:Name";
  42. const  ODPropertyName kODPropComments       = "OpenDoc:Property:Comments";
  43. const  ODPropertyName  kODPropCreateDate        = "OpenDoc:Property:CreationDate";
  44. const  ODPropertyName  kODPropModDate        = "OpenDoc:Property:ModifiedDate";
  45. const  ODPropertyName  kODPropModUser        = "OpenDoc:Property:ModifiedUser";
  46.  
  47. // WindowState
  48.  
  49. const  ODPropertyName kODPropWindowList        = "OpenDoc:Property:WindowList";
  50.  
  51. // Window
  52.  
  53. const  ODPropertyName kODPropWindow          = "OpenDoc:Property:Window";
  54. const  ODPropertyName kODPropWindowRect       = "OpenDoc:Property:WindowRect";
  55. const  ODPropertyName kODPropWindowTitle       = "OpenDoc:Property:WindowTitle";
  56. const  ODPropertyName kODPropWindowProcID     = "OpenDoc:Property:WindowProcID";
  57. const  ODPropertyName kODPropWindowIsVisible     = "OpenDoc:Property:WindowVisible";
  58. const  ODPropertyName kODPropWindowHasCloseBox   = "OpenDoc:Property:WindowHasCloseBox";
  59. const  ODPropertyName kODPropWindowHasZoomBox   = "OpenDoc:Property:WindowHasZoomBox";
  60. const  ODPropertyName kODPropWindowIsResizable   = "OpenDoc:Property:WindowIsResizable";
  61. const  ODPropertyName kODPropWindowIsRootWindow   = "OpenDoc:Property:WindowIsRootWindow";
  62. const  ODPropertyName kODPropWindowIsFloating   = "OpenDoc:Property:WindowIsFloating";
  63. const  ODPropertyName kODPropWindowHasMailer     = "OpenDoc:Property:WindowHasMailer";
  64. const  ODPropertyName kODPropWindowIsMailerAware   = "OpenDoc:Property:WindowIsMailerAware";
  65. const  ODPropertyName kODPropWindowRefCon     = "OpenDoc:Property:WindowRefCon";
  66. const  ODPropertyName kODPropRootFrame       = "OpenDoc:Property:RootFrame";
  67. const  ODPropertyName kODPropSourceFrame       = "OpenDoc:Property:SourceFrame";
  68. const  ODPropertyName kODPropShouldShowLinks     = "OpenDoc:Property:ShouldShowLinks";
  69.  
  70. // Frame
  71.  
  72. const  ODPropertyName kODPropContainingFrame    = "OpenDoc:Property:ContainingFrame";
  73. const  ODPropertyName kODPropGraphicsSystem      = "OpenDoc:Property:GraphicsSystem";
  74. const  ODPropertyName kODPropFrameShape        = "OpenDoc:Property:FrameShape";
  75. const  ODPropertyName kODPropFrameRegion      = "OpenDoc:Property:FrameRegion";
  76. const  ODPropertyName kODPropUsedRegion       = "OpenDoc:Property:UsedRegion";
  77. const  ODPropertyName  kODPropInternalTransform   = "OpenDoc:Property:InternalTransform";
  78. const  ODPropertyName kODPropPart         = "OpenDoc:Property:Part";
  79. const  ODPropertyName kODPropPartInfo       = "OpenDoc:Property:PartInfo";
  80. const  ODPropertyName kODPropViewType       = "OpenDoc:Property:ViewType";
  81. const  ODPropertyName kODPropPresentation     = "OpenDoc:Property:Presentation";
  82. const  ODPropertyName kODPropFrameGroup       = "OpenDoc:Property:FrameGroup";
  83. const  ODPropertyName kODPropIsRoot         = "OpenDoc:Property:IsRoot";
  84. const  ODPropertyName kODPropIsSubframe       = "OpenDoc:Property:IsSubFrame";
  85. const  ODPropertyName kODPropIsOverlaid       = "OpenDoc:Property:IsOverlaid";
  86. const  ODPropertyName kODPropIsFrozen       = "OpenDoc:Property:IsFrozen";
  87. const  ODPropertyName kODPropUsesCachedImage     = "OpenDoc:Property:UsesCachedImage";
  88. const  ODPropertyName kODPropDoesPropagateEvents  = "OpenDoc:Property:DoesPropagateEvents";
  89.  
  90. // Draft
  91.  
  92. const ODPropertyName  kODPropDraftNumber      = "OpenDoc:Property:Draft:Number";
  93. const ODPropertyName  kODPropDraftComment      = "OpenDoc:Property:Draft:Comment";
  94.  
  95. // Link
  96.  
  97. const  ODPropertyName kODPropLink         = "OpenDoc:Property:Link";
  98. const  ODPropertyName kODPropLinkSource       = "OpenDoc:Property:LinkSource";
  99. const  ODPropertyName  kODPropLinkSpec       = "OpenDoc:Property:LinkSpec";
  100. const  ODPropertyName kODPropSourcePart       = "OpenDoc:Property:SourcePart";
  101. const  ODPropertyName kODPropEditionAlias     = "OpenDoc:Property:EditionAlias";
  102. const  ODPropertyName kODPropLinkSection       = "OpenDoc:Property:LinkSection";
  103. const  ODPropertyName kODPropLinkContentSU     = "OpenDoc:Property:LinkContentSU";
  104. const  ODPropertyName kODPropAutoUpdate       = "OpenDoc:Property:AutoUpdate";
  105. const  ODPropertyName kODPropChangeID       = "OpenDoc:Property:ChangeID";
  106. const  ODPropertyName kODPropChangeTime       = "OpenDoc:Property:ChangeTime";
  107. const  ODPropertyName kODPropOriginalID       = "OpenDoc:Property:OriginalID";
  108. const  ODPropertyName kODPropOriginalDraft     = "OpenDoc:Property:OriginalDraft";
  109. const  ODPropertyName kODPropOriginalCloneKind   = "OpenDoc:Property:OriginalCloneKind";
  110.  
  111. // Drag&Drop + Clipboard
  112.  
  113. const ODPropertyName  kODPropContents        = "OpenDoc:Property:Contents";
  114. const ODPropertyName  kODPropExternalTransform   = "OpenDoc:Property:ExternalTransform";
  115. const  ODPropertyName kODPropStandInFrame      = "OpenDoc:Property:StandInFrame";
  116.  
  117. // Document Properties
  118.  
  119. const  ODPropertyName kODPropEditionID       = "OpenDoc:Property:Document:EditionID";
  120. const  ODPropertyName kODPropSectionID       = "OpenDoc:Property:Document:SectionID";
  121.  
  122. // Part
  123. // annotations
  124.  
  125. const  ODPropertyName kODPropIconFamily       = "OpenDoc:Property:IconFamily";
  126. const  ODPropertyName kODPropIsStationery      = "OpenDoc:Property:IsStationery";
  127. const  ODPropertyName  kODPropPreferredEditor    = "OpenDoc:Property:PreferredEditor";
  128. const  ODPropertyName  kODPropPartsBin        = "OpenDoc:Property:PartsBin";
  129.  
  130. // content
  131.  
  132. const  ODPropertyName kODPropDisplayFrames     = "OpenDoc:Property:DisplayFrames";
  133. const  ODPropertyName kODPropEmbeddedFrames      = "OpenDoc:Property:EmbeddedFrames";
  134. const  ODPropertyName kODPropPrintingInfo      = "OpenDoc:Property:PrintingInfo";
  135.  
  136. #if defined(__SOMIDL__) && defined(EMIT_GLOBAL_CONSTANTS)
  137. #pragma somemittypes off
  138. #endif
  139.  
  140. module OpenDoc_StdProps 
  141. {
  142.     const string OpenDoc_StdProps_Version = "1.0.";
  143. };
  144.  
  145. #endif  // _STDPROPS_
  146.